<template>
    <div class="box">
        <h4>Child2组件</h4>
        <slot :info="info" :intro="intro" hobby="烫头">小狗</slot>
    </div>
</template>

<script>
export default {
    name: "Child2",
    props: ['info', 'intro']
}
</script>

<style scoped>

</style>